local cjson         = require('cjson.safe')
local DB            = require("libs.db")

local db = DB:new()


local test = function()
    while true do
        ngx.log(ngx.INFO,"1111")
    end
end

local getAllSkill = function()
    test()
    return 
end




local allSkillData = getAllSkill()
ngx.sleep(1)

-- ngx.say(cjson.encode(allSkillData))
ngx.say(cjson.encode("Skill"))